import request from "@/common/request"

//用户假期余额分页展示
export const userholidaysettingPage = (queryForm) => {
    return request("get", "/oa/userHolidaySetting/page", queryForm);
}
//用户假期余额列表展示
export const userholidaysettingList = (queryForm) => {
    return request("get", "/oa/userHolidaySetting/list", queryForm);
}
//用户假期余额详情
export const userholidaysettingInfo = (id) => {
    return request('get', '/oa/userHolidaySetting/info', {
        id: id
    })
}
//用户假期余额信息保存
export const userholidaysettingSave = (data) => {
    return request('post', '/oa/userHolidaySetting/save', data)
}
//用户假期余额信息修改
export const userholidaysettingEdit = (data) => {
    return request('post', '/oa/userHolidaySetting/edit', data)
}
//用户假期余额信息删除
export const userholidaysettingDel = (id) => {
    return request('post', '/oa/userHolidaySetting/delete?id=' + id)
}
//用户假期余额批量删除
export const userholidaysettingDelBatch = (ids) => {
    return request('post', '/oa/userHolidaySetting/deleteBatch', ids)
}
//用户假期余额动态表头导出
export const userholidaysettingDynamicExport = (data) => {
    return request("eptpost", '/oa/userHolidaySetting/exportDynamic', data)
}
